package com.study.demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created on 2019/9/19.
 *
 * @author Grak
 * @since 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtConfig {

    private long timeOut;

    private String secret;

    public long getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(long timeOut) {
        this.timeOut = timeOut;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
